<?php if (!defined('THINK_PATH')) exit();?><form id="bt_import_from" class="form" style="width:330px;">
    <table  align="center" class="table table-bordered table-striped" >
        <?php echo ($data["output"]); ?>
    </table>
</form>
<script>
$('#cc').combogrid({    
                    panelWidth:300,    
                    value:'4',    
                    idField:'id',    
                    textField:'id',    
                    url:_ROOT_+'/import/comboData', 
                    columns:[[    
                        {field:'id',title:'id',width:60},
                        {field:'name',title:'Name',width:100},
                        {field:'descp',title:'描述',width:100}
                    ]],
                    onSelect: function(rec,v){
                         // var url = '__ROOT__/import/comboData?id='+v.id;    
                           $('#cc2').combogrid('setValue',v.name);
                           console.log(v.name);
                    }
});  
</script>
